package com.manager.user.module.dao;

import com.manager.commons.mybatis.annotation.MyBatisDao;
import com.manager.commons.mybatis.dao.GenericDao;
import com.manager.user.module.entity.FolderInfo;
import com.manager.user.module.entity.PlatformParameter;
import com.manager.user.module.entity.UserOrganization;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * GenOrganizationDao
 * 组织架构
 *
 * @author manager
 * @version 1.0
 */
@MyBatisDao
public interface UserOrganizationDao extends GenericDao<UserOrganization> {
    //查询当前用户所属组织架构
    UserOrganization queryUserOrganization(Map<String, Object> map);
    //查询组织架构
    List<FolderInfo> queryOrganization(Map<String, Object> map);


    PlatformParameter getBaseParameter(@Param("code") String code);
}
